package com.ciis.system.login.service;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

/**
 * Created with IntelliJ IDEA.
 * User: zhangdajun
 * Date: 14-5-26
 * Time: 下午10:04
 * To change this template use File | Settings | File Templates.
 */
public interface ILoginService {

    /**
     * 验证登录情况
     * @param request 会话
     * @param name 用户名（包含ID、EMAIL、PHONE）
     * @param password 密码
     * @param code 验证码
     * @return
     * @throws Exception
     */
    public HashMap<String,String> validateLogin(HttpServletRequest request,String name,String password,String code) throws Exception;
}
